SftTree/OCX 7.0

SftTree.ItemDataFloat Property

Softel vdm, Inc.

Defines an item's application specific floating point value.

Deprecated - Provided for compatibility with earlier versions only - Use Item.DataFloat instead

Syntax       

Get

VB.NET

Data = object.get_ItemDataFloat(ByVal ItemIndex As Integer)  As Single

VB

Data = object.ItemDataFloat(ByVal ItemIndex As Long)  As Single

C#.NET

float Data = object.get_ItemDataFloat(int ItemIndex);

VC++

float Data = object->ItemDataFloat[long ItemIndex];
float Data = object->GetItemDataFloat(long ItemIndex);

C

HRESULT object->get_ItemDataFloat(long ItemIndex, float* Data);

Delphi

Data := object.ItemDataFloat[ItemIndex : Integer]   : Single;

Put

VB.NET

object.set_ItemDataFloat(ByVal ItemIndex As Integer, ByVal Data As Single)

VB

object.ItemDataFloat(ByVal ItemIndex As Long) = Data  As Single

C#.NET

void object.set_ItemDataFloat(int ItemIndex, float Data);

VC++

float object->ItemDataFloat[long ItemIndex] = Data;
void object->PutItemDataFloat(long ItemIndex, float Data);

C

HRESULT object->put_ItemDataFloat(long ItemIndex, float Data);

Delphi

object.ItemDataFloat[ItemIndex : Integer] := Data   : Single;

object

A SftTree object.

ItemIndex

The zero-based item index.

Data

Defines an item's application specific floating point value.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Item.DataFloat instead

The ItemDataFloat property defines an item's application specific floating point value.

The ItemDataFloat property can be used to store an application specific value with an item.  Possible uses include storing values used for sorting purposes (see Items.SortDependents method).

Additional properties used to associate an application defined value with an item are Item.Data, Item.DataObject, Item.DataString and Item.DataTag.  These are distinct properties and can be used at the same time.

Cell related data can be saved using the Cell.Data, Cell.DataObject, Cell.DataString and Cell.DataTag properties.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com